package com.ygq.train.business.service;

import com.ygq.train.business.domain.DailyTrainCarriage;
import com.ygq.train.common.resp.PageResp;
import com.ygq.train.business.req.DailyTrainCarriageQueryReq;
import com.ygq.train.business.req.DailyTrainCarriageSaveReq;
import com.ygq.train.business.resp.DailyTrainCarriageQueryResp;

import java.util.Date;
import java.util.List;


public interface DailyTrainCarriageService {

     void save(DailyTrainCarriageSaveReq req);

     PageResp<DailyTrainCarriageQueryResp> queryList(DailyTrainCarriageQueryReq req);

     void delete(Long id);

     List<DailyTrainCarriageQueryResp> queryMine();

     List<DailyTrainCarriage> selectBySeatType(Date date,String trainCode,String seatType);
     void genDaily(Date date, String trainCode);
}